# 生成密码表
zimu='qwertyuiopasdfghjklzxcvbnm'
codeList={}
for i in range(1,27):
    codeList[zimu[i-1]]=str(i)

while(1):
    mingwen = input('请输入人类语言：')

    result = ''
    for code in mingwen:
        result += codeList[code]

    print(result)